#!/bin/sh

chmod 755 mvnw && ./mvnw clean install -T 8C -Dmaven.test.skip

cd admin-client && chmod 755 build.sh && ./build.sh &
cd admin-server && chmod 755 build.sh && ./build.sh &
cd config-client && chmod 755 build.sh && ./build.sh &
cd config-server && chmod 755 build.sh && ./build.sh &
cd eureka-client && chmod 755 build.sh && ./build.sh &
cd eureka-server && chmod 755 build.sh && ./build.sh &
cd consumer && chmod 755 build.sh && ./build.sh &
cd producer && chmod 755 build.sh && ./build.sh &
cd hystrix && chmod 755 build.sh && ./build.sh &
cd turbine && chmod 755 build.sh && ./build.sh &
cd zuul && chmod 755 build.sh && ./build.sh &
cd zookeeper-client && chmod 755 build.sh && ./build.sh
